//本地测试双向绑定数据
DZApp.controller("comment_new",function($scope,$http){

    $scope.shanchu = function(index){
        //删除选定的对象
        $scope.mynews.splice($scope.currentIndex,1);
    };
    

	httpUtils.sendHttp('POST','/appserver/manage/appFeedBack/AppFeedbackUpdate',{comment_id:'',user_id:'',associated_type:'',associated_id:'',content:'',comment_time:'',comment_addr:'',valid_flag:''});
    
	$http({
		method: 'POST',
		url: '/appserver/manage/pubComment/PubCommentSelect',
		data: $.param({comment_id:'',user_id:'',associated_type:'',associated_id:'',content:'',comment_time:'',comment_addr:'',valid_flag:''}),
		headers: {
			'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8'
		},
		cache: false
	}).success(function(data) {
		console.log(data);
		$scope.mynews = data.data
	});
});

